package com.cqc.retrofitdemo02;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by cui on 2016/12/23.
 */

public interface AppRequest {
    @POST("real_time_weather.php")
    Call<String> post1(@Query("key") String key, @Query("areaid") int areaid);
    @POST("info")
    Call<String> post2();
    @POST("info")// @POST("info")
    Call<List<InfoBean>> post3();
}
